<template>
  <el-container>
    <el-header>
      <head-container></head-container>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <side-container></side-container>
      </el-aside>
      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
import sideContainer from './sidebar/Index'
import headContainer from './header/Index'
export default {
  name: 'Index',
  components: {
    sideContainer,
    headContainer
  }
}
</script>

<style lang="scss" scoped>
.el-container {
  width: 100%;
  height: 100vh;
}
</style>
